package com.grad.why.studentsystem.service;

import com.grad.why.studentsystem.domain.Student;
import com.grad.why.studentsystem.domain.Teacher;
import com.grad.why.studentsystem.domain.Teacherposition;
import com.grad.why.studentsystem.domain.Workrole;
import com.grad.why.studentsystem.domain.current.CurrentTeacher;

import java.util.List;

public interface TeacherService {
    List<CurrentTeacher> getTeacherList(int offset, int limit, String sort, String search);

    long getTeacherListLength(String search);

    int deleteTeacherById(Integer s);

    List<Teacherposition> getTeacherPosition();

    List<Workrole> getWorkRoles();

    Integer getMaxId();

    Teacher saveTeacherByEntity(Teacher teacher);

    int updateTeacherByEntity(Teacher teacher);

    List<Teacher> getTeacherInfos();

    Teacher getTeacherInfoByCourseId(int cid);

    int addTeacherInfosByExcelFile(String uploadCurrentFileName);

    Teacher getTeacherInfoByTid(int bindid);
}
